package com.ruoyi.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备数据解析对象 fac_devices_job
 * 
 * @author rww
 * @date 2024-06-26
 */
public class FacDevicesJob extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long id;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private Long deviceId;

    /** 服务路径 */
    @Excel(name = "服务路径")
    private String jobClass;

    /** 实现方法 */
    @Excel(name = "实现方法")
    private String jobMethod;

    /** 控制服务路径 */
    @Excel(name = "控制服务路径")
    private String controlClass;

    /** 控制服务方法 */
    @Excel(name = "控制服务方法")
    private String controlMethod;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Boolean isOpen;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setJobClass(String jobClass) 
    {
        this.jobClass = jobClass;
    }

    public String getJobClass() 
    {
        return jobClass;
    }
    public void setJobMethod(String jobMethod) 
    {
        this.jobMethod = jobMethod;
    }

    public String getJobMethod() 
    {
        return jobMethod;
    }
    public void setControlClass(String controlClass) 
    {
        this.controlClass = controlClass;
    }

    public String getControlClass() 
    {
        return controlClass;
    }
    public void setControlMethod(String controlMethod) 
    {
        this.controlMethod = controlMethod;
    }

    public String getControlMethod() 
    {
        return controlMethod;
    }
    public void setIsOpen(Boolean isOpen)
    {
        this.isOpen = isOpen;
    }

    public Boolean getIsOpen()
    {
        return isOpen;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("jobClass", getJobClass())
            .append("jobMethod", getJobMethod())
            .append("controlClass", getControlClass())
            .append("controlMethod", getControlMethod())
            .append("isOpen", getIsOpen())
            .toString();
    }
}
